package com.hstc.dto;

import java.io.File;
import java.util.Date;
import java.util.List;
import java.util.Vector;

/**
 * @auther 倪万佳
 * @date 2018/11/7 13:12
 */
public class MessageDTO {

    // 邮件主题
    private String subject;
    // 发件人地址列表
    private String from;
    // 邮件发送时间
    private String sendData;
    // 用户邮件的序号数
    private Integer msgnum;
    // 收件人地址列表
    private String toList;
    // 抄送地址列表
    private String ccList;
    //附件
    private Vector<File> attFile;
    //邮件附件
    private List<AttachmentDTO> attachments;
    //新邮件
    private Boolean isNew;
    //是否被打开
    private Boolean  isSeen;

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public String getFrom() {
        return from;
    }

    public void setFrom(String from) {
        this.from = from;
    }

    public String getSendData() {
        return sendData;
    }

    public void setSendData(String sendData) {
        this.sendData = sendData;
    }

    public Integer getMsgnum() {
        return msgnum;
    }

    public void setMsgnum(Integer msgnum) {
        this.msgnum = msgnum;
    }


    public String getToList() {
        return toList;
    }

    public void setToList(String toList) {
        this.toList = toList;
    }

    public String getCcList() {
        return ccList;
    }

    public void setCcList(String ccList) {
        this.ccList = ccList;
    }

    public Vector<File> getAttFile() {
        return attFile;
    }

    public void setAttFile(Vector<File> attFile) {
        this.attFile = attFile;
    }

    public List<AttachmentDTO> getAttachments() {
        return attachments;
    }

    public void setAttachments(List<AttachmentDTO> attachments) {
        this.attachments = attachments;
    }

    public Boolean getNew() {
        return isNew;
    }

    public void setNew(Boolean aNew) {
        isNew = aNew;
    }

    public Boolean getSeen() {
        return isSeen;
    }

    public void setSeen(Boolean seen) {
        isSeen = seen;
    }
}
